{include file="include:header" /}
<body>
    {include file="include:nav" /}
    <!-- 用户中心 -->
	<div class="user-center wrap1920">
		<div class="wrap1200 user-center-con user-index">
			{include file="user:usernav" /}
			<!-- 个人资料 -->
			<div class="user-right-con fl">
				<h2>个人资料</h2>
				<div class="user-info">
					<li><span>头像：</span>
						<!--{empty name="data_user.u_img"}
							<img class="user-head" src="__PUBLICINDEX__/images/user-head.png" alt="" />
						{else /}
						<img class="user-head" src="{$data_user['u_img']}" alt="" />
						{/empty}-->

						<div class="upload-pic-item">
							<div class="upload-pic square-min" style="width:150px;">
								<div class="pic-wrap">
									{empty name="data_user.u_img"}
											<img class="user-head" src="__PUBLICINDEX__/images/user-head.png" alt="" />
									{else/}
											<img class="user-head" src="{$data_user['u_img']}" alt="" />
									{/empty}
								</div>
								<div class="upload-btn">上传</div>
								<input class="pic-url" type="hidden" name="n_img" value="{$data_user['u_img']?$data_user['u_img']:''}" size="600,600" />
							</div>
						</div>
						<!--<a href="javascript:;">修改头像</a>-->
					</li>
					<li><span>昵称：</span><em>{$data_user['u_nickname']}</em><a href="javascript:;" value="{$data_user['u_nickname']}" class="user-name">修改昵称</a></li>
					<li><span>手机：</span><em>{$data_user['u_phone']}</em></li>
					<li><span>邮箱：</span><em>{$data_user['u_mail']?$data_user['u_mail']:''}</em><a href="javascript:;" value="{$data_user['u_mail']}" class="user-mail">修改邮箱</a></li>
				</div>
			</div>
		</div>
	</div>
<!--	<div class="user-header-eidt">
		<div>
		  <img id="image" src="__PUBLICINDEX__/images/user-head.png" />
		</div>
	</div>-->
	{include file="include:footer" /}
</body>
</html>
{include file="include:js" /}
<script src="/static/admin/Api/webuploader/webuploader.js"></script>

<link  href="__PUBLICINDEX__/plugin/cropper/cropper.css" rel="stylesheet">
<script src="__PUBLICINDEX__/plugin/cropper/cropper.js"></script>
<!--
<script>
	$('#image').cropper({
	  aspectRatio: 16 / 9,
	  crop: function(e) {
	    // Output the result data for cropping image.
	    console.log(e.x);
	    console.log(e.y);
	    console.log(e.width);
	    console.log(e.height);
	    console.log(e.rotate);
	    console.log(e.scaleX);
	    console.log(e.scaleY);
	  }
	});
</script>-->
